# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=corepaint
pkgver=3.0.1
pkgrel=0
pkgdesc="A paint app from the CoreApps family."
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/corepaint/-/archive/v$pkgver/corepaint-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}
sha512sums="016ee8626f637392045e7e37c5072e1eb0d733580dd975d5fe02293f9b2cbba69ac84c97323b2e469877ce7a7459c5325bc6e11fe6cb9ab18204cf770fa1a471  corepaint-3.0.1.tar.gz"
